package bootstrap

import "base"

type StartArgs struct {
	Config *Config
}

func Start(args *StartArgs) (err error) {
	if args == nil {
		return
	}

	if err = args.Config.Parse(); err != nil {
		return
	}

	return
}

func Close() {
	base.Logger.Close()
}
